package cn.ssdcc.dkserver.entity;

import lombok.Data;

import java.util.List;
/*
返回实体
 */
@Data
public class DkResponse<T> {

    public DkResponse() {
        this.code = 200;
        this.message = "";
    }

    public DkResponse(T data) {
        this.code = 200;
        this.message = "";
        this.data = data;
    }

    public DkResponse(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    Integer code;
    String message;
    T data;


}
